﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using BluePortal.Medias.Core;

namespace BluePortal.QuikStart.UserControls
{
    public partial class MediaDescription : System.Web.UI.UserControl
    {
        public Guid id;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                List<Media> v = new List<Media>();
                v.Add(new BCMedia().FindByID(id));
                FormView1.DataSource = v;
                FormView1.DataBind();
            }
        }
    }
}